﻿// =================================================================== 
// 项目说明
//====================================================================
// 天网软件股份有限公司
// 文件： SYS_DEPT.cs
// 项目名称：企业内部管理信息系统

// 创建时间：2013/3/19
// 负责人：
// ===================================================================
using System;

//注意：该文件自动生成，一般请不要手工修改。

namespace TWCommonLib.Model
{
	/// <summary>
	///(SYS_DEPT)数据实体
	/// </summary>
	[Serializable]
	public class SYS_DEPT
	{
		#region 变量定义
		
		///<summary>
		///
		///</summary>
		private string _dEPT_ID;
		
		///<summary>
		///
		///</summary>
		private string _dEPT_NO = String.Empty;
		
		///<summary>
		///
		///</summary>
		private string _dEPT_NAME = String.Empty;
		
		///<summary>
		///
		///</summary>
		private string _pARENT_ID = String.Empty;
		
		///<summary>
		///
		///</summary>
		private string _dEPT_TYPE = String.Empty;
		
		///<summary>
		///
		///</summary>
		private short _iS_VIRTUAL;
		
		///<summary>
		///
		///</summary>
		private string _mANAGER_ID = String.Empty;
		
		///<summary>
		///
		///</summary>
		private string _mANAGER_NAME = String.Empty;
		
		///<summary>
		///
		///</summary>
		private int _dEPT_KIND;
		
		///<summary>
		///
		///</summary>
		private string _iNNERDEPT_NO = String.Empty;
		
		///<summary>
		///
		///</summary>
		private string _sYSTEM_STR = String.Empty;
		
		///<summary>
		///
		///</summary>
		private short _dEL_FLAG;
		
		///<summary>
		///
		///</summary>
		private string _fOR_SUPPLY = String.Empty;
		
		///<summary>
		///
		///</summary>
		private short _iS_SUPPLY;
		#endregion
		
		#region 构造函数

		///<summary>
		///的构造函数，默认值通过数据库的default取得
		///</summary>
		public SYS_DEPT()
		{
			_pARENT_ID=("0");
			_dEPT_KIND=((0));
			_dEL_FLAG=((0));
			_iS_SUPPLY=((1));
 
		}
		///<summary>
		///
		///</summary>
		public SYS_DEPT
		(
			string dEPT_ID,
			string dEPT_NO,
			string dEPT_NAME,
			string pARENT_ID,
			string dEPT_TYPE,
			short iS_VIRTUAL,
			string mANAGER_ID,
			string mANAGER_NAME,
			int dEPT_KIND,
			string iNNERDEPT_NO,
			string sYSTEM_STR,
			short dEL_FLAG,
			string fOR_SUPPLY,
			short iS_SUPPLY
		)
		{
			_dEPT_ID      = dEPT_ID;
			_dEPT_NO      = dEPT_NO;
			_dEPT_NAME    = dEPT_NAME;
			_pARENT_ID    = pARENT_ID;
			_dEPT_TYPE    = dEPT_TYPE;
			_iS_VIRTUAL   = iS_VIRTUAL;
			_mANAGER_ID   = mANAGER_ID;
			_mANAGER_NAME = mANAGER_NAME;
			_dEPT_KIND    = dEPT_KIND;
			_iNNERDEPT_NO = iNNERDEPT_NO;
			_sYSTEM_STR   = sYSTEM_STR;
			_dEL_FLAG     = dEL_FLAG;
			_fOR_SUPPLY   = fOR_SUPPLY;
			_iS_SUPPLY    = iS_SUPPLY;
			
		}
		
		

		#endregion
		
		#region 公共属性

		
		
		///<summary>
		///
		///</summary>
		public string DEPT_ID
		{
			get {return _dEPT_ID;}
			set {_dEPT_ID = value;}
		}

		
		///<summary>
		///
		///</summary>
		public string DEPT_NO
		{
			get {return _dEPT_NO;}
			set {_dEPT_NO = value;}
		}

		
		///<summary>
		///
		///</summary>
		public string DEPT_NAME
		{
			get {return _dEPT_NAME;}
			set {_dEPT_NAME = value;}
		}

		
		///<summary>
		///
		///</summary>
		public string PARENT_ID
		{
			get {return _pARENT_ID;}
			set {_pARENT_ID = value;}
		}

		
		///<summary>
		///
		///</summary>
		public string DEPT_TYPE
		{
			get {return _dEPT_TYPE;}
			set {_dEPT_TYPE = value;}
		}

		
		///<summary>
		///
		///</summary>
		public short IS_VIRTUAL
		{
			get {return _iS_VIRTUAL;}
			set {_iS_VIRTUAL = value;}
		}

		
		///<summary>
		///
		///</summary>
		public string MANAGER_ID
		{
			get {return _mANAGER_ID;}
			set {_mANAGER_ID = value;}
		}

		
		///<summary>
		///
		///</summary>
		public string MANAGER_NAME
		{
			get {return _mANAGER_NAME;}
			set {_mANAGER_NAME = value;}
		}

		
		///<summary>
		///
		///</summary>
		public int DEPT_KIND
		{
			get {return _dEPT_KIND;}
			set {_dEPT_KIND = value;}
		}

		
		///<summary>
		///
		///</summary>
		public string INNERDEPT_NO
		{
			get {return _iNNERDEPT_NO;}
			set {_iNNERDEPT_NO = value;}
		}

		
		///<summary>
		///
		///</summary>
		public string SYSTEM_STR
		{
			get {return _sYSTEM_STR;}
			set {_sYSTEM_STR = value;}
		}

		
		///<summary>
		///
		///</summary>
		public short DEL_FLAG
		{
			get {return _dEL_FLAG;}
			set {_dEL_FLAG = value;}
		}

		
		///<summary>
		///
		///</summary>
		public string FOR_SUPPLY
		{
			get {return _fOR_SUPPLY;}
			set {_fOR_SUPPLY = value;}
		}

		
		///<summary>
		///
		///</summary>
		public short IS_SUPPLY
		{
			get {return _iS_SUPPLY;}
			set {_iS_SUPPLY = value;}
		}
	
		#endregion
		
	}
}
